﻿@{
    ViewBag.Title = "Success";
}
<link href="@Url.Content("/content/styles/icons.css")" type="text/css" rel="stylesheet" />
<div class="k-block" style="width: 600px; margin: 100px auto; text-align: center; padding: 50px;">
    <span class="icomoon-icon-checkmark-3 icon64 green"></span>
    <span style="font-size: 30px;">恭喜您！操作成功！</span>
</div>
@{
    if (ViewBag.Cat != null)
    {
        var url = "";
        if (ViewBag.Cat == "PrintProductOrder")
        {
            url = "/Orders/ProductOrder/Print/";
        }
        else if (ViewBag.Cat == "PrintPaidOrder")
        {
            url = "/Orders/PaidOrder/Print/";
        }
        else if (ViewBag.Cat == "PrintDealOrder")
        {
            url = "/Orders/DealOrder/Print/";
        }
        else if (ViewBag.Cat == "PrintBookOrder")
        {
            url = "/Orders/BookOrder/Print/";
        }
         
    <text>
    <script class="print">
        window.open("@(url + ViewBag.OrderNo)");
    </script>
    </text>
    }
}


